#include "ParticleManager.h"
#include <time.h>

ParticleManager::ParticleManager(Vector3 _origin)
{
	m_origin.X = _origin.X;
	m_origin.Y = _origin.Y;
	m_origin.Z = _origin.Z;
	m_iCurParticle = 0;
}


ParticleManager::~ParticleManager(void)
{
	m_listParticle.clear();
}

void ParticleManager::Generate(int _numParticle) //tao ra _numParticle particle
{
	srand((unsigned)time(NULL));
	for(int i = 0; i < _numParticle; i++)
	{
		InitParticle();
	}
}

